cc = swcc
cc_slave = sw3cc

FLAGS= -DSIZEX=514 -DSIZEY=514 -DSIZEZ=514 -DBLKX=8 -DBLKY=8 -DBLKZ=8 -DCHECK

LIBFLAGS =  -I/usr/sz/swcc/sw3gcc-binary/include

OBJECT = master.o slave.o

3d7p_stream: master.o slave.o stream

master.o: master.c
	$(cc) $(FLAGS)  -c  master.c  $(LIBFLAGS)
slave.o: slave.c
	$(cc_slave) $(FLAGS)  -c slave.c
stream:  $(OBJECT) 
	$(cc_slave) -hybrid  -o 3d7p_stream $(OBJECT)
clean:
	@-rm -f *.o 3d7p_stream

